package chapter1023;

public class NotePad extends Computer{
    private String font;

    public NotePad() {
        super();
    }

    public NotePad(String cpu, String ram, String disk, String font) {
        super(cpu, ram, disk);
        this.font = font;
    }

    @Override
    public String getDetails() {
        return super.getDetails() + "font: " + font;
    }

    public String getFont() {
        return font;
    }

    public void setFont(String font) {
        this.font = font;
    }
}
